package com.tangcco.lockwell.test;

import java.util.List;

public class Content {

    // 对应JSON中每个"content"元素里的"name"字段，例如文档名称等
    private String name;
    // 对应JSON中每个"content"元素里的"value"字段，通常是一个字符串列表，比如文档内容等具体值
    private List<String> value;

    public Content() {
    }

    public Content(String name, List<String> value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<String> getValue() {
        return value;
    }

    public void setValue(List<String> value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Content{" +
                "name='" + name + '\'' +
                ", value=" + value +
                '}';
    }
}
